import axios from '@/utils/request';

export function getUserDispatchRoomList(params) {
    return axios.post({
        url: '/user-dispatch-room/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editUserDispatchRoom(params) {
    return axios.post({
        url: '/user-dispatch-room/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserDispatchRoom(params) {
    return axios.post({
        url: '/user-dispatch-room/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserDispatchRoom(params) {
    return axios.post({
        url: '/user-dispatch-room/load',
        data: params
    }).then((res) => {
        return res
    })
}

